﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="leaveword_manage.aspx.cs" Inherits="web.manage.leaveword_manage" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="1000">
	    <tr>
	    <th align="left">留言标题</th>
	    <th align="left">留言内容</th>
	    <th align="left">添加时间</th>
	    <th align="left">留言人</th>
	    <th align="left">EMail</th>
	    <th align="left">联系电话</th>
	    <td align="left">操作</td>
	    </tr>
	    <asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
	    <ItemTemplate>
	    <tr>
	    <td align="left"><%#Eval("title")%></td>
	    <td align="left"><%#Eval("leavewordContent")%></td>
	    <td align="left"><%#Eval("addtime")%></td>
	    <td align="left"><%#Eval("messagerName")%></td>
	    <td align="left"><%#Eval("messagerEmail")%></td>
	    <td align="left"><%#Eval("messagerTel")%></td>
	    <td align="left">
	    <a href='Leaveword_operate.aspx?id=<%#Eval("id")%>' target="_blank">回复</a>
	    &nbsp;<asp:LinkButton ID="lbDelete" CommandName="deleteLeaveword" CommandArgument='<%#Eval("id")%>' runat="server" OnClientClick="return confirm('确定要删除此条信息吗?操作将不可恢复')" Text="删除" /></td>
	    </tr>
	    </ItemTemplate>
	    </asp:Repeater>
	    <tr><td colspan="10">
		    <webdiyer:AspNetPager ID="anp" runat="server"  onpagechanged="anp_PageChanged" 
		    FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
		    </webdiyer:AspNetPager>
		    </td>
	    </tr>
    </table>
    </div>
    </form>
    <script src="js/tablecolor.js"></script>
</body>
</html>
